//
//  SuXiResultVC.swift
//  SuXianCalculator
//
//  Created by 李东 on 2024/3/29.
//

import UIKit

class SuXiResultVC: SuXiBaseVC {
    
    @IBOutlet weak var titleBtn: UIButton!
    @IBOutlet weak var contentTV: UITextView!
    
    var model =  SuXiResult()
    
    init(model: SuXiResult = SuXiResult()) {
        super.init(nibName: nil, bundle: nil)
        self.model = model
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

        title = "生日性格"
        titleBtn.setTitle(model.title, for: .normal)
        contentTV.attributedText = model.content.setAttributedString()
    }



}
